﻿<Window x:Class="PBS.APP.BingApiKeyDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="{DynamicResource titleBingAPIKeyWindow}" Height="139" Width="600" ResizeMode="NoResize" WindowStartupLocation="CenterOwner" WindowStyle="ThreeDBorderWindow" FontFamily="Verdana">
    <DockPanel>
        <StackPanel VerticalAlignment="Center">
            <TextBlock TextAlignment="Center">
                <Run FontSize="16" Text="{DynamicResource tbEnterBingKey}" />
                <LineBreak/>
                <Run Text="{DynamicResource tbObtainBingKey1}" />
                <Hyperlink NavigateUri="http://www.bingmapsportal.com/" RequestNavigate="Hyperlink_RequestNavigate">here</Hyperlink><Run Text="{DynamicResource tbObtainBingKey2}" />
            </TextBlock>
            <TextBox Name="tbKey" Margin="3,5,3,5" Background="LightGray" TextAlignment="Center"/>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                <Button x:Name="btnOK" Width="50" Margin="0,0,10,0" Click="btnOk_Click" Content="{DynamicResource btnOK}" />
                <Button x:Name="btnCancel" Width="50" Click="btnCancel_Click" Content="{DynamicResource btnCancel}" />
            </StackPanel>
        </StackPanel>
    </DockPanel>
</Window>
